# -*- coding: utf-8 -*- 
#
# Description:
#
#  Definiton
#
#
#
# Changes:
#
# 2012-01-10
# Initial Commit
#
#
# Copyright 2010-2012, WyDev Team.
# Author: Polo35 (polo35580@hotmail.fr)
#
# Licenced under Academic Free License version 3.0
# Review WyGui README & LICENSE files for further details.

nname: 0
n 0(None)[return VersionConfigurationItem(_('Version'), 'version', display_type='setup_version', menu=menu)
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb76c4bec>}
nname: 0
n 0(None)[return LicenseMenu('Licensing', filename='/usr/share/doc/licenses.txt').show()
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb76cbe8c>}
nname: 0
n 0(None)[c = ParametersSetupItem(name='Copyright', type_='setupitem')
def c.execute():
	return LicenseMenu('Licensing', filename='/usr/share/doc/licenses.txt').show()

return [ParametersSetupItem(name='Software Version: %s', name_args=version.format_version(version.wybox_version()), type_='setupitem'), ParametersSetupItem(name='Serial Number: %s', name_args=version.serial_number(), type_='setupitem'), c]
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb76cb94c>}
nname: 0
n 0(None)[self._name = _('Version')
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb76cb14c>}
nname: 6
n 6(None)[depth = 2
def browse(self):
	c = ParametersSetupItem(name='Copyright', type_='setupitem')
	def c.execute():
		return LicenseMenu('Licensing', filename='/usr/share/doc/licenses.txt').show()

	return [ParametersSetupItem(name='Software Version: %s', name_args=version.format_version(version.wybox_version()), type_='setupitem'), ParametersSetupItem(name='Serial Number: %s', name_args=version.serial_number(), type_='setupitem'), c]

def update_name(self):
	self._name = _('Version')

]:
	i: 
	o: 

self.nodes: {6: <unpyclib.structure.node instance at 0xb76c4e2c>}
nname: 0
n 0(None)[from __future__ import absolute_import
from peewee import version
from .. import ParametersSetupItem
from ...containers import GenericContainer
from pygui.menu.menu.greetings import LicenseMenu
def getitem(menu):
	return VersionConfigurationItem(_('Version'), 'version', display_type='setup_version', menu=menu)

class VersionConfigurationItem(GenericContainer):
	depth = 2
	def browse(self):
		c = ParametersSetupItem(name='Copyright', type_='setupitem')
		def c.execute():
			return LicenseMenu('Licensing', filename='/usr/share/doc/licenses.txt').show()

		return [ParametersSetupItem(name='Software Version: %s', name_args=version.format_version(version.wybox_version()), type_='setupitem'), ParametersSetupItem(name='Serial Number: %s', name_args=version.serial_number(), type_='setupitem'), c]

	def update_name(self):
		self._name = _('Version')



]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb76c460c>}
from __future__ import absolute_import
from peewee import version
from .. import ParametersSetupItem
from ...containers import GenericContainer
from pygui.menu.menu.greetings import LicenseMenu
def getitem(menu):
	return VersionConfigurationItem(_('Version'), 'version', display_type='setup_version', menu=menu)

class VersionConfigurationItem(GenericContainer):
	depth = 2
	def browse(self):
		c = ParametersSetupItem(name='Copyright', type_='setupitem')
		def c.execute():
			return LicenseMenu('Licensing', filename='/usr/share/doc/licenses.txt').show()

		return [ParametersSetupItem(name='Software Version: %s', name_args=version.format_version(version.wybox_version()), type_='setupitem'), ParametersSetupItem(name='Serial Number: %s', name_args=version.serial_number(), type_='setupitem'), c]

	def update_name(self):
		self._name = _('Version')



